package com.cat.model.biz.service.api;

import com.cat.model.common.model.common.ModelExtendtimeVO;

public interface BasOrderService {

	/**
	 * 创建模特加时订单
	 * @param userId
	 * @param extendtime
	 * @return
	 */
	String createModelExtendtimeOrder(long userId, ModelExtendtimeVO extendtime);
	
	/**
	 * 订单退款申请
	 * @param userId
	 * @param refOrderNumber
	 * @return
	 */
	String revorkBasOrder(long userId, String refOrderNumber);
	
	
	/**
	 * 根据订单号获取订单详情
	 * @param userId
	 * @param refOrderNumber
	 * @return
	 */
	String getOrderDetail(long userId, String refOrderNumber);
	
	/**
	 * 获取订单状态
	 * @param userId
	 * @param refOrderNumber
	 * @return
	 */
	String getOrderStatus(long userId, String refOrderNumber);
	
	
	/**
	 * 根据订单id获取支付宝支付信息
	 * @param userId
	 * @param orderId
	 * @return
	 */
	String getAliPayInfo(Long userId,String orderNumber);
	
	/**
	 * 根据订单id获取微信支付信息
	 * @param userId
	 * @param orderId
	 * @return
	 */
	String getWXPayInfo(Long userId,String orderNumber);
	
	
	String getPrePayInfo(Long userId,String orderNumber);
	
}
